FUNCTION

try_fetch_auth_descriptor

function try_fetch_auth_descriptor(account: account, auth_descriptor_id: byte_array): account_auth_descriptor?

Retrieves an account_auth_descriptor given the account it's associated with and the ID of the auth descriptor itself. Returns null if not found.

Parameters

  • account — the account the auth descriptor is associated with
  • auth_descriptor_id — the ID of the auth descriptor to retrieve
© 2024 Chromia